import { createRouter, createWebHashHistory } from 'vue-router'
import HomePage from '../pages/HomePage.vue'
import AboutPage from '../pages/AboutPage.vue'
import ServicesPage from '../pages/ServicesPage.vue'
import ProjectsPage from '../pages/ProjectsPage.vue'
import TutorialsPage from '../pages/TutorialsPage.vue'
import ArchitecturePage from '../pages/ArchitecturePage.vue'
import LatestPostsPage from '../pages/LatestPostsPage.vue'
import ContactPage from '../pages/ContactPage.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    { path: '/', component: HomePage },
    { path: '/about', component: AboutPage },
    { path: '/services', component: ServicesPage },
    { path: '/projects', component: ProjectsPage },
    { path: '/tutorials', component: TutorialsPage },
    { path: '/architecture', component: ArchitecturePage },
    { path: '/latest-posts', component: LatestPostsPage },
    { path: '/contact', component: ContactPage }
  ]
})

export default router